package com.hermes.biz.dao.user;

import java.util.List;

import com.hermes.biz.common.model.user.UserCommentDO;

public interface UserCommentDAO {

	/**
	 *
	 * @param userCommentDO
	 */
	public void saveUserCommentInfo(UserCommentDO  userCommentDO);
	
	/**
	 *
	 * @param userId
	 * @return`
	 */
	public List<UserCommentDO> getUserCommentInfo(long userId);
	
	/**
	 *
	 * @param userId
	 * @return
	 */
	public  List<UserCommentDO>  getUserCommentInfoByItemId(long itemId);
	
	/**
	 *
	 * @param userId
	 * @return
	 */
	public  List<UserCommentDO>  getUserCommentInfoByItemIdV2(long itemId);
	/**
	 *
	 * @param commentId
	 * @return
	 */
	public UserCommentDO getUserCommentInfoByCommentId(long commentId);
	
	/**
	 *
	 * @param userId
	 */
	public void deleteUserCommentInfo(long userId);
	
	/**
	 *
	 * @param commentId
	 */
	public void deleteUserCommentInfoByCommentId(long commentId);
	
	/**
	 *
	 * @param commentId
	 */
	public void deleteUserCommentInfoByitemId(long itemId);
}
